package GenericsTest;

import java.util.ArrayList;

public class Test {
    public static void main(String[] args) {
        lihuaCat lihua=new lihuaCat("lihua",1);
        boshiCat boshi=new boshiCat("boshi",2);

        taidiDog taidi=new taidiDog("taidi",3);
        hashiqiDog hashiqi=new hashiqiDog("hashiqi",4);

        ArrayList<Animal> list=new ArrayList<>();
        list.add(lihua);
        list.add(boshi);
        list.add(taidi);
        list.add(hashiqi);





    }
    public static void keeppet(ArrayList<? extends Animal> list){

    }
}
